package api

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type LibAdminController struct {
	auto.LibController
}

func init() {
	web.Router(conf.UrlPrefix + "/Lib/:id", 		&LibAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/Lib/info", 		&LibAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/Lib/scan", 		&LibAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/Lib/list", 	    &LibAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/Lib/update", 	&LibAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/Lib/create", 	&LibAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/Lib/copy", 	    &LibAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/Lib/edit", 	    &LibAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/Lib/delete", 	&LibAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/Lib/:id/:field", &LibAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/Lib/choice", &LibAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/Lib/category", &LibAdminController{}, "*:CategoryAction")
}
//func (this *LibAdminController) Prepare() {}
//func (this *LibAdminController) ListAction() {}
//func (this *LibAdminController) GetAction() {}
//func (this *LibAdminController) InfoAction() {}
//func (this *LibAdminController) ScanAction() {}
//func (this *LibAdminController) CreateAction() {}
//func (this *LibAdminController) UpdateAction() {}
//func (this *LibAdminController) CopyAction() {}
//func (this *LibAdminController) DeleteAction() {}
//func (this *LibAdminController) EditAction() {}
//func (this *LibAdminController) SonsAction() {}
//func (this *LibAdminController) ChoiceAction() {}
//func (this *LibAdminController) CategoryAction() {}
